#include <QCoreApplication>
#include "cv.h"
#include "cxcore.h"
#include "highgui.h"
int main(int argc, char *argv[])
{
   // QCoreApplication a(argc, argv);
    IplImage *pImg;
    pImg=cvLoadImage("d:\\Icon_ty_158.bmp");
    cvNamedWindow("image",1);
    cvShowImage("test",pImg);
    cvWaitKey(0);
    cvDestroyWindow("image");
    cvReleaseImage(&pImg);

    return 0;
   // return a.exec();
}
